function LoginCheck (){
	if(uni.getStorageSync('token')=='') {
		uni.$u.toast('没有登录请先登录') 
		setTimeout(function (){              
		    uni.navigateTo({
		    	url: '/'
		    });
		   }, 3000);
	}
	
}

const permission = {
	LoginCheck:LoginCheck
}

module.exports = permission